package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 商品阶梯价格
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:35
 */
@TableName("sku_ladder")
public class SkuLadderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * spu_id
	 */
	private Long skuId;
	/**
	 * 满几件
	 */
	private Integer fullCount;
	/**
	 * 打几折
	 */
	private BigDecimal discount;
	/**
	 * 折后价
	 */
	private BigDecimal price;
	/**
	 * 是否叠加其他优惠[0-不可叠加，1-可叠加]
	 */
	private Integer addOther;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set spu_id
	 */
    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
    /**
	 * get spu_id
	 */
    public Long getSkuId(){
        return this.skuId;
    }
	/**
	 * set 满几件
	 */
    public void setFullCount(Integer fullCount){
        this.fullCount = fullCount;
    }
    /**
	 * get 满几件
	 */
    public Integer getFullCount(){
        return this.fullCount;
    }
	/**
	 * set 打几折
	 */
    public void setDiscount(BigDecimal discount){
        this.discount = discount;
    }
    /**
	 * get 打几折
	 */
    public BigDecimal getDiscount(){
        return this.discount;
    }
	/**
	 * set 折后价
	 */
    public void setPrice(BigDecimal price){
        this.price = price;
    }
    /**
	 * get 折后价
	 */
    public BigDecimal getPrice(){
        return this.price;
    }
	/**
	 * set 是否叠加其他优惠[0-不可叠加，1-可叠加]
	 */
    public void setAddOther(Integer addOther){
        this.addOther = addOther;
    }
    /**
	 * get 是否叠加其他优惠[0-不可叠加，1-可叠加]
	 */
    public Integer getAddOther(){
        return this.addOther;
    }

}
